package combine.access.model;

public class UserRole {
	
	protected long userId;
	protected long roleId;
	protected short isDefault;// 每个用户有且只有一个默认角色；只有具有主页的角色可以成为默认角色。
	
	protected long creatorId;
	protected String creatorName;
	protected long createdTimestamp;
	
	public long getUserId() {
		return userId;
	}
	
	public void setUserId(long userId) {
		this.userId = userId;
	}
	
	public long getRoleId() {
		return roleId;
	}
	
	public void setRoleId(long roleId) {
		this.roleId = roleId;
	}
	
	public short getIsDefault() {
		return isDefault;
	}
	
	public void setIsDefault(short isDefault) {
		this.isDefault = isDefault;
	}
	
	public long getCreatorId() {
		return creatorId;
	}
	
	public void setCreatorId(long creatorId) {
		this.creatorId = creatorId;
	}
	
	public String getCreatorName() {
		return creatorName;
	}
	
	public void setCreatorName(String creatorName) {
		this.creatorName = creatorName;
	}
	
	public long getCreatedTimestamp() {
		return createdTimestamp;
	}
	
	public void setCreatedTimestamp(long createdTimestamp) {
		this.createdTimestamp = createdTimestamp;
	}


}
